home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Utilities Experience
/
The Utilities Experience - Volume 1.iso
/
software
/
comms
/
thor_2.22
/
thor.lha
/
rexx
/
FSE
/
Cool.fse
< prev
next >
Wrap
Text File
|
1995-12-18
|
635b
|
41 lines
/* Coolify (using "TEXT COOLER v1.0 by
** DDT of the HALF-BRAINS TEAM") text
** block - by Troels Walsted Hansen
*/
options results
YPOS
currline = result
XPOS
currcolumn = result
MSGLENGTH
lastline = result
call open(tfh, "t:UncoolTempFile", W)
do i=currline to lastline
SETPOS 1 i
GETLINE
line = result
if(line ~= "") then do
DELETELINES
i = i-1
end
else break
call writeln(tfh, line)
end
call close(tfh)
address command "Cool >nil: t:UncoolTempFile t:CoolTempFile"
call delete("t:UncoolTempFile")
SETPOS currcolumn currline
INCLUDEFILE "t:CoolTempFile"
call delete("t:CoolTempFile")
SETPOS currcolumn currline